package com.ruoyi.training.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 证书自定义内容配置对象 certificate_field
 * 
 * @author hcc
 * @date 2025-11-06
 */
public class CertificateField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自定义字段id */
    private String certificateFieldId;

    /** 模板id */
    private String templateId;

    /** 字段标识 */
    @Excel(name = "字段标识")
    private String fieldKey;

    /** 字段类型(1:系统字段,2:自定义字段) */
    @Excel(name = "字段类型(1:系统字段,2:自定义字段)")
    private String fieldType;

    /** 字段显示名称 */
    @Excel(name = "字段显示名称")
    private String fieldLabel;

    /** 字体 */
    @Excel(name = "字体")
    private String fontFamily;

    /** 字体大小 */
    @Excel(name = "字体大小")
    private Long fontSize;

    /** 字体颜色 */
    @Excel(name = "字体颜色")
    private String fontColor;

    /** 字体粗细 */
    @Excel(name = "字体粗细")
    private String fontWeight;

    /** 斜体 */
    private String italic;

    /** 下划线 */
    private String underline;

    /** 纸张类型 */
    private String paperType;

    /** 纸张大小 */
    private String paperSize;

    /** 对齐方式 */
    @Excel(name = "对齐方式")
    private String textAlign;

    /** 行高 */
    @Excel(name = "行高")
    private BigDecimal lineHeight;

    /** 字间距 */
    @Excel(name = "字间距")
    private BigDecimal letterSpacing;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    /** $column.columnComment */
    private String exampleOne;

    /** $column.columnComment */
    private String exampleTwo;

    /** $column.columnComment */
    private String exampleThree;

    /** 系统字段Id数组 */
    private String systemFieldId;

    public String getItalic() {
        return italic;
    }

    public void setItalic(String italic) {
        this.italic = italic;
    }

    public String getUnderline() {
        return underline;
    }

    public void setUnderline(String underline) {
        this.underline = underline;
    }

    public String getPaperType() {
        return paperType;
    }

    public void setPaperType(String paperType) {
        this.paperType = paperType;
    }

    public String getPaperSize() {
        return paperSize;
    }

    public void setPaperSize(String paperSize) {
        this.paperSize = paperSize;
    }

    public String getSystemFieldId() {
        return systemFieldId;
    }

    public void setSystemFieldId(String systemFieldId) {
        this.systemFieldId = systemFieldId;
    }

    public String getCertificateFieldId() {
        return certificateFieldId;
    }

    public void setCertificateFieldId(String certificateFieldId) {
        this.certificateFieldId = certificateFieldId;
    }

    public void setTemplateId(String templateId)
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }

    public void setFieldKey(String fieldKey) 
    {
        this.fieldKey = fieldKey;
    }

    public String getFieldKey() 
    {
        return fieldKey;
    }

    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }

    public void setFieldLabel(String fieldLabel) 
    {
        this.fieldLabel = fieldLabel;
    }

    public String getFieldLabel() 
    {
        return fieldLabel;
    }

    public void setFontFamily(String fontFamily) 
    {
        this.fontFamily = fontFamily;
    }

    public String getFontFamily() 
    {
        return fontFamily;
    }

    public void setFontSize(Long fontSize) 
    {
        this.fontSize = fontSize;
    }

    public Long getFontSize() 
    {
        return fontSize;
    }

    public void setFontColor(String fontColor) 
    {
        this.fontColor = fontColor;
    }

    public String getFontColor() 
    {
        return fontColor;
    }

    public void setFontWeight(String fontWeight) 
    {
        this.fontWeight = fontWeight;
    }

    public String getFontWeight() 
    {
        return fontWeight;
    }

    public void setTextAlign(String textAlign) 
    {
        this.textAlign = textAlign;
    }

    public String getTextAlign() 
    {
        return textAlign;
    }

    public void setLineHeight(BigDecimal lineHeight) 
    {
        this.lineHeight = lineHeight;
    }

    public BigDecimal getLineHeight() 
    {
        return lineHeight;
    }

    public void setLetterSpacing(BigDecimal letterSpacing) 
    {
        this.letterSpacing = letterSpacing;
    }

    public BigDecimal getLetterSpacing() 
    {
        return letterSpacing;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    public void setExampleOne(String exampleOne) 
    {
        this.exampleOne = exampleOne;
    }

    public String getExampleOne() 
    {
        return exampleOne;
    }

    public void setExampleTwo(String exampleTwo) 
    {
        this.exampleTwo = exampleTwo;
    }

    public String getExampleTwo() 
    {
        return exampleTwo;
    }

    public void setExampleThree(String exampleThree) 
    {
        this.exampleThree = exampleThree;
    }

    public String getExampleThree() 
    {
        return exampleThree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateFieldId", getCertificateFieldId())
            .append("templateId", getTemplateId())
            .append("fieldKey", getFieldKey())
            .append("fieldType", getFieldType())
            .append("fieldLabel", getFieldLabel())
            .append("fontFamily", getFontFamily())
            .append("fontSize", getFontSize())
            .append("fontColor", getFontColor())
            .append("fontWeight", getFontWeight())
            .append("italic", getItalic())
            .append("underline", getUnderline())
            .append("paperType", getPaperType())
            .append("paperSize", getPaperSize())
            .append("textAlign", getTextAlign())
            .append("lineHeight", getLineHeight())
            .append("letterSpacing", getLetterSpacing())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("exampleOne", getExampleOne())
            .append("exampleTwo", getExampleTwo())
            .append("exampleThree", getExampleThree())
            .append("systemFieldId", getSystemFieldId())
            .toString();
    }
}
